<?php
/**
 * 安装
 * @package      	ThinkCMS
 * @author          woerwin QQ:673766734
 * @copyright     	Copyright (c) 2012  (http://woerwin.sinaapp.com)
 * @license         http://woerwin.sinaapp.com/license.txt
 * @version        	ThinkCMS网站管理系统 v0.1010 2012-10-10
 */
defined('ROOT_PATH') or define('ROOT_PATH', dirname(__FILE__));
if (is_file(ROOT_PATH . '/data/install.lock')) {
    header('Location: ./index.php');
    exit;
}
define('THINK_PATH', '../ThinkPHP/');
define('APP_NAME', 'install');
define('APP_PATH', './install/');
require(THINK_PATH."/ThinkPHP.php");